fmt.fmt.prec (field)
16 uses
fmt (current package)
format.go#L47: prec int // precision
format.go#L142: if f.precPresent && f.prec > 4 {
format.go#L143: prec = f.prec
format.go#L205: width := 3 + f.wid + f.prec // wid and prec are always positive.
format.go#L217: prec = f.prec
format.go#L326: n := f.prec
format.go#L340: n := f.prec
format.go#L376: if f.precPresent && f.prec < length {
format.go#L377: length = f.prec
format.go#L494: prec = f.prec
print.go#L186: func (p *pp) Precision() (prec int, ok bool) { return p.fmt.prec, p.fmt.precPresent }
print.go#L1123: p.fmt.prec, p.fmt.precPresent, argNum = intFromArg(a, argNum)
print.go#L1125: if p.fmt.prec < 0 {
print.go#L1126: p.fmt.prec = 0
print.go#L1134: p.fmt.prec, p.fmt.precPresent, i = parsenum(format, i, end)
print.go#L1136: p.fmt.prec = 0
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |